home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000143_the_xdvik directory, we did:.msg < prev    next >
Text File  |  1994-10-11  |  3KB  |  74 lines

  1.  
  2.     make all >>& all.log
  3.  
  4.  
  5. Here's the output:
  6.  
  7. gcc  -I. -I. -I..  /usr/local/X11/include/X11 -DBUTTONS  -O -I/usr/local/X11/include/X11 -L/usr/local/X11/lib  -c xdvi.c
  8. In file included from xdvi.h:24,
  9.                  from config.h:20,
  10.                  from xdvi.c:43:
  11. /usr/include/X11/Xlib.h:1055: parse error before `wchar_t'
  12. /usr/include/X11/Xlib.h:1055: warning: no semicolon at end of struct or union
  13. /usr/include/X11/Xlib.h:1059: parse error before `}'
  14. /usr/include/X11/Xlib.h:1059: warning: data definition has no type or storage class
  15. /usr/include/X11/Xlib.h:1145: parse error before `wchar_t'
  16. /usr/include/X11/Xlib.h:1145: warning: no semicolon at end of struct or union
  17. /usr/include/X11/Xlib.h:1145: warning: no semicolon at end of struct or union
  18. /usr/include/X11/Xlib.h:1146: warning: useless keyword or type name in empty declaration
  19. /usr/include/X11/Xlib.h:1146: warning: empty declaration
  20. /usr/include/X11/Xlib.h:1147: parse error before `}'
  21. /usr/include/X11/Xlib.h:1147: warning: data definition has no type or storage class
  22. /usr/include/X11/Xlib.h:1153: parse error before `XIMText'
  23. /usr/include/X11/Xlib.h:1153: warning: no semicolon at end of struct or union
  24. /usr/include/X11/Xlib.h:1154: warning: data definition has no type or storage class
  25. /usr/include/X11/Xlib.h:1186: parse error before `XIMText'
  26. /usr/include/X11/Xlib.h:1186: warning: no semicolon at end of struct or union
  27. /usr/include/X11/Xlib.h:1186: warning: no semicolon at end of struct or union
  28. /usr/include/X11/Xlib.h:1188: parse error before `}'
  29. /usr/include/X11/Xlib.h:1188: warning: data definition has no type or storage class
  30. /usr/include/X11/Xlib.h:1189: parse error before `}'
  31. /usr/include/X11/Xlib.h:1189: warning: data definition has no type or storage class
  32. /usr/include/X11/Xlib.h:4056: parse error before `wchar_t'
  33. /usr/include/X11/Xlib.h:4074: parse error before `wchar_t'
  34. /usr/include/X11/Xlib.h:4098: parse error before `wchar_t'
  35. /usr/include/X11/Xlib.h:4128: parse error before `XwcTextItem'
  36. /usr/include/X11/Xlib.h:4154: parse error before `wchar_t'
  37. /usr/include/X11/Xlib.h:4180: parse error before `wchar_t'
  38. /usr/include/X11/Xlib.h:4242: parse error before `*'
  39. /usr/include/X11/Xlib.h:4246: warning: data definition has no type or storage class
  40. /usr/include/X11/Xlib.h:4294: parse error before `wchar_t'
  41. In file included from xdvi.h:25,
  42.                  from config.h:20,
  43.                  from xdvi.c:43:
  44. /usr/include/X11/Xutil.h:790: parse error before `wchar_t'
  45. /usr/include/X11/Xutil.h:799: parse error before `*'
  46. /usr/include/X11/Xutil.h:824: parse error before `wchar_t'
  47. *** Error code 1
  48. make: Fatal error: Command failed for target `xdvi.o'
  49.  
  50.  
  51.  
  52. Looking in "/usr/include/X11/Xlib.h", we see these surprising lines:
  53.  
  54.  
  55. #ifndef X_WCHAR
  56. #include <stddef.h>
  57. #else
  58. /* replace this with #include or typedef appropriate for your system */
  59. typedef unsigned long wchar_t;
  60. #endif
  61.  
  62.  
  63. Interesting, I never imagined needing to adjust this but perhaps I do.
  64. Does anyone else with a SPARC know what to set this as?
  65.  
  66. Alternatively, I remember seeing somewhere that the programs weren't
  67. even using wchar_t...so why the errors?
  68.  
  69. Thanks a bunch in advance!
  70.  
  71. --Roger Jagoda
  72. rogerj@lps.cornell.edu
  73.  
  74.